package BasicDataStructures;

public class DoubleListNode {
    public int data;
    public DoubleListNode next;
    public DoubleListNode pre;
    public DoubleListNode(int data) {
        this.data = data;
    }
    public DoubleListNode(int data, DoubleListNode next) {
        this.data = data;
        this.next = next;
    }
    public DoubleListNode(int data, DoubleListNode next, DoubleListNode pre) {
        this.data = data;
        this.next = next;
        this.pre = pre;
    }
}
